package com.eastfair.venueservice.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.eastfair.venueservice.enumeration.SpaceAcceptanceCompanyTypeEnum;
import com.eastfair.venueservice.enumeration.SpaceAcceptanceDealResultEnum;
import com.eastfair.venueservice.enumeration.SpaceAcceptanceFinishStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.Size;
import java.io.Serializable;

import static com.baomidou.mybatisplus.annotation.SqlCondition.LIKE;

/**
 * <p>
 * 实体类
 * 展厅验收记录
 * </p>
 *
 * @author linan
 * @since 2023-01-06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "SpaceAcceptancePageQuery", description = "展厅验收记录")
public class SpaceAcceptanceQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 场馆综合展会ID
     */
    @ApiModelProperty(value = "场馆综合展会ID")
    private Long exhibitionManageId;
    /**
     * 验收单号
     */
    @ApiModelProperty(value = "验收单号")
    private String acceptNo;
    /**
     * 企业类型 #{HOME_COURT:主场;MAIN_TRANSPORT:主运}
     */
    @ApiModelProperty(value = "企业类型 #{HOME_COURT:主场;MAIN_TRANSPORT:主运}")
    private SpaceAcceptanceCompanyTypeEnum companyType;
    /**
     * 企业id
     */
    @ApiModelProperty(value = "企业id")
    private Long companyId;
    /**
     * 企业名称
     */
    @ApiModelProperty(value = "企业名称")
    private String companyName;
    /**
     * 申请人姓名
     */
    @ApiModelProperty(value = "申请人姓名")
    private String applicationName;
    /**
     * 联系方式
     */
    @ApiModelProperty(value = "联系方式")
    private String phone;
    /**
     * 验收部门id
     */
    @ApiModelProperty(value = "验收部门id")
    private Long orgId;
    /**
     * 验收部门
     */
    @ApiModelProperty(value = "验收部门")
    private String orgName;
    /**
     * 完成状态 #{NEED_DEAL:待处理;HAS_DISPATCH:已派单;FINISHED:已完成;ACCEPTED:已验收;}
     */
    @ApiModelProperty(value = "完成状态 #{NEED_DEAL:待处理;HAS_DISPATCH:已派单;FINISHED:已完成;ACCEPTED:已验收;}")
    private SpaceAcceptanceFinishStatusEnum finishStatus;
    /**
     * 处理结果 #{SITE_ACCEPTANCE_IS_QUALIFIED:场地验收合格;UNQUALIFIED_SITE_DAMAGE:场地损坏不合格}
     */
    @ApiModelProperty(value = "处理结果 #{SITE_ACCEPTANCE_IS_QUALIFIED:场地验收合格;UNQUALIFIED_SITE_DAMAGE:场地损坏不合格}")
    private SpaceAcceptanceDealResultEnum dealResult;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 附件URL
     */
    @ApiModelProperty(value = "附件URL")
    private String fileUrl;
    /**
     * 关键词
     */
    @ApiModelProperty(value = "关键词")
    private String keywords;

    /**
     * 展馆编码
     */
    @ApiModelProperty(value = "展馆编码")
    private String spaceCode;

    /**
     * 展馆号
     */
    @ApiModelProperty(value = "展馆号")
    private String spaceName;

}
